package com.android.rutaszalagarda;
import java.sql.Connection;
import java.sql.ResultSet;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class ConectarDB extends Activity{

	private ResultSet resultado = null;
	
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState); 
	    setContentView(R.layout.activity_home);
	    testDB();
	}
	
	public void testDB() {
		//TextView tv = (TextView)this.findViewById(R.id.tableRow1);
		String result = "";
	    try {
	    	Connection con = null;
			new Conexion().execute(con);
		} catch (Exception e) {
			Log.v("error",e.getMessage());
			e.printStackTrace();
		}
	    //tv.setText(result);
	    System.out.println(result);
	}
}

